﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Cart.aspx.cs" Inherits="Liguo.Store.Cart" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>购物车</title>
    <link rel="stylesheet" href="../css/frame.css" />
    <script src="../js/artDialog/plugins/iframeTools.js"></script>
    <script src="../js/artDialog/artDialog.js"></script>
    <link href="../css/cartshow.css" rel="stylesheet" />
    <link href="../js/artDialog/skins/simple.css" rel="stylesheet" />
    <script type="text/javascript">
        function verifydelete() {
            artDialog.confirm = function (content, yes, no) {
                return artDialog({
                    id: 'Confirm',
                    icon: 'question',
                    fixed: true,
                    lock: true,
                    opacity: .1,
                    content: content,
                    ok: function (here) {
                        return yes.call(this, here);
                    },
                    cancel: function (here) {
                        return no && no.call(this, here);
                    }
                });
            };
            artDialog.tips = function (content, time) {
                return artDialog({
                    id: 'Tips',
                    title: false,
                    cancel: false,
                    fixed: true,
                    lock: true
                })
                .content('<div style="padding: 0 1em;">' + content + '</div>')
                .time(time || 1);
            };
            var judge = true;
            art.dialog.confirm('你确定要删除这掉消息吗？', function () {
                art.dialog.tips('执行确定操作');
                return true;
            }, function () {
                art.dialog.tips('执行取消操作');
                judge = false;
                return false;
            });
            if (judge) {
                document.getElementById("j").value= "1";
            } else {
                document.getElementById("j").value = "0";
            }
        }

        function test(){  
            art.dialog({
                lock: true,
                content: '中断用户在对话框以外的交互，展示重要操作与消息',
                yesFn: function () {
                    art.dialog({ content: '再来一个锁屏', lock: true });
                    return false;
                },
                noFn: true

            });
         }
        function haha() {
            alert("haha");
        }
    </script>
</head>
<body>
    <div class="header">
        <!--兼容IE早期版本的做法，不用在意-->
        <iframe src="Header.aspx" frameborder="no" border="no"></iframe>
    </div>

    <div runat="server" id="mydiv">
        <form id="form1" runat="server">
            <table class="tb" id="MyTable" cellspacing="20" border="20" bordercolor="black" frame="hsides" rules="rows" runat="server">
                <tr>
                    <td>
                        <div class="first">
                            <h2>&nbsp我的购物车</h2>
                        </div>

                    </td>
                </tr>
                <tbody>
                </tbody>
            </table>
        </form>
    </div>
    <div id="notify" runat="server" visible="false">
        <div class="empty">
            <dl>
                <dd>&nbsp购物车空了</dd>
                <dd>&nbsp赶快<a href="Store.aspx">去首页</a>看看吧</dd>
            </dl>

        </div>
    </div>
    <div hidden="hidden">
        <asp:Label ID="count" runat="server"></asp:Label>
        </div>
    <div hidden="hidden" id="verify">
        <asp:Label ID="f" runat="server" Text=""></asp:Label>
        </div>
    <div class="bottom">
        <!--兼容IE早期版本的做法，不用在意-->
        <iframe src="Bottom.aspx" frameborder="no" border="no"></iframe>
    </div>
</body>
</html>
